package com.ruoyi.gybj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 泄漏点信息对象 gybj_leak_point
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class LeakPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 泄漏点编码 */
    @Excel(name = "泄漏点编码")
    private String leakPointCode;

    /** 泄漏点名称 */
    @Excel(name = "泄漏点名称")
    private String leakPointName;

    /** 泄漏点描述 */
    @Excel(name = "泄漏点描述")
    private String leakPointDesc;

    /** 传感器类型 */
    @Excel(name = "传感器类型")
    private String sensorType;

    /** 监测气体 */
    @Excel(name = "监测气体")
    private String monitorGas;

    /** 危险源id */
    @Excel(name = "危险源id")
    private Long hazardId;

    /** 危险源名称 */
    @Excel(name = "危险源名称")
    private String hazardName;

    /** 运行状态（如：运行/停用/检修） */
    @Excel(name = "运行状态", readConverterExp = "如=：运行/停用/检修")
    private String runStatus;

    /** 经度 */
    @Excel(name = "经度")
    private String lon;

    /** 维度 */
    @Excel(name = "维度")
    private String lat;

    /** 点位ID（关联监控系统点位） */
    @Excel(name = "点位ID", readConverterExp = "关=联监控系统点位")
    private Long pointId;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLeakPointCode(String leakPointCode) 
    {
        this.leakPointCode = leakPointCode;
    }

    public String getLeakPointCode() 
    {
        return leakPointCode;
    }

    public void setLeakPointName(String leakPointName) 
    {
        this.leakPointName = leakPointName;
    }

    public String getLeakPointName() 
    {
        return leakPointName;
    }

    public void setLeakPointDesc(String leakPointDesc) 
    {
        this.leakPointDesc = leakPointDesc;
    }

    public String getLeakPointDesc() 
    {
        return leakPointDesc;
    }

    public void setSensorType(String sensorType) 
    {
        this.sensorType = sensorType;
    }

    public String getSensorType() 
    {
        return sensorType;
    }

    public void setMonitorGas(String monitorGas) 
    {
        this.monitorGas = monitorGas;
    }

    public String getMonitorGas() 
    {
        return monitorGas;
    }

    public void setHazardId(Long hazardId) 
    {
        this.hazardId = hazardId;
    }

    public Long getHazardId() 
    {
        return hazardId;
    }

    public void setHazardName(String hazardName) 
    {
        this.hazardName = hazardName;
    }

    public String getHazardName() 
    {
        return hazardName;
    }

    public void setRunStatus(String runStatus) 
    {
        this.runStatus = runStatus;
    }

    public String getRunStatus() 
    {
        return runStatus;
    }

    public void setLon(String lon) 
    {
        this.lon = lon;
    }

    public String getLon() 
    {
        return lon;
    }

    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }

    public void setPointId(Long pointId) 
    {
        this.pointId = pointId;
    }

    public Long getPointId() 
    {
        return pointId;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("leakPointCode", getLeakPointCode())
            .append("leakPointName", getLeakPointName())
            .append("leakPointDesc", getLeakPointDesc())
            .append("sensorType", getSensorType())
            .append("monitorGas", getMonitorGas())
            .append("hazardId", getHazardId())
            .append("hazardName", getHazardName())
            .append("runStatus", getRunStatus())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("pointId", getPointId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
